﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using WsdShop.Model.Enum;

namespace WsdShop.Model
{
    //Product_Comment
    public class Product_Comment : Entity
    {
        public Product_Comment()
        {
            ReplyTime = Convert.ToDateTime("1900-01-01");
        }

        /// <summary>
        /// Id
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 产品SKU
        /// </summary>
        public string ProductSku { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName { get; set; }
        /// <summary>
        /// 评论内容
        /// </summary>
        public string DPContent { get; set; }
        /// <summary>
        /// 评论图片(json格式保存)
        /// </summary>
        public string ImgUrls { get; set; }
        /// <summary>
        /// 评论人ID
        /// </summary>
        public int MemberId { get; set; }
        /// <summary>
        /// 评论人微信昵称
        /// </summary>
        public string NikName { get; set; }
        /// <summary>
        /// 评论人头像
        /// </summary>
        public string HeadUrl { get; set; }
        /// <summary>
        /// 回复内容
        /// </summary>
        public string ReplyContent { get; set; }
        /// <summary>
        /// 回复时间
        /// </summary>
        public DateTime? ReplyTime { get; set; }
        /// <summary>
        /// 回复用户ID
        /// </summary>
        public int? ReplyUserId { get; set; }
        /// <summary>
        /// 回复用户姓名
        /// </summary>
        public string ReplyUserName { get; set; }
        /// <summary>
        /// 关联订单号
        /// </summary>
        public int RelationId { get; set; }
        /// <summary>
        /// IP
        /// </summary>
        public string IP { get; set; }

        public CommentLevel? CommentLevel { get; set; }

    }
}

